package com.qf.shiro2302.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.shiro2302.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<String> selectRolesFromDB(@Param("id") Integer id);

    List<String> selectPermissionsFromDB(@Param("id") Integer id);
}
